# serializers.py in 'video_records' app
from rest_framework import serializers
from .models import VideoRecord

class VideoRecordSerializer(serializers.ModelSerializer):
    class Meta:
        model = VideoRecord
        fields = ['video_id', 'timestamp', 'storage_path', 'device']
